package cn.wsalix.admin.form;

import javax.validation.constraints.NotNull;

import lombok.Data;
import lombok.EqualsAndHashCode;
import cn.anlaser.form.CommonForm;
import cn.wsalix.admin.entity.SysMenu;
import cn.wsalix.admin.status.MenuEnum;
import cn.wsalix.admin.status.OperateEnum;

@Data
@EqualsAndHashCode(callSuper = false)
public class MenuForm extends CommonForm {
	private String name;
	private String code;
	private int serNo;
	private Integer level;
	boolean parentNull = false;
	@NotNull
	private String menuUrl;
	private String pattern;
	private MenuEnum status;
	@NotNull
	private Long parentId;

	private OperateEnum Operate;
	//
	private SysMenu menuItem;
}
